package com.vdcloud.mcclassroom.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 权限表
 * </p>
 *
 * @author 宋发准
 * @since 2019-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_permission")
@ApiModel(value="Permission对象", description="权限表")
public class Permission implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "权限编号")
    @TableField("permission_id")
    private String permissionId;

    @ApiModelProperty(value = "授权url")
    @TableField("permission_url")
    private String permissionUrl;

    @ApiModelProperty(value = "描述")
    @TableField("permission_comment")
    private String permissionComment;

    @ApiModelProperty(value = "权限状态,0正常，-1删除")
    @TableField("permission_status")
    private String permissionStatus;


}
